import React from 'react'
import Advertisement from './Advertisement'
// import ContentBox from './ContentBox'
import ArticleList from './ArticleList'

class Article extends React.Component{
    constructor(props){
        super(props)
        this.state={
            CategoriesId:this.props.CategoriesId
        }
    }

    render(){
        return(
            <div>
                <Advertisement/>
                {/* <ContentBox/> */}
                <ArticleList CategoriesId={this.state.CategoriesId}/>
            </div>
        )
    }
}
export default (Article)